<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>


    <link type="text/css" rel="stylesheet" href="../common/bootstrap/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="../common/bootstrap/table/css/bootstrap-table.min.css">
    <link type="text/css" rel="stylesheet" href="../common/treeview/bootstrap-treeview.css">
    <link rel="stylesheet" href="../common/css/common.css"/>


    <script type="text/javascript" src="../common/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../common/bootstrap/bootstrap.min.js"></script>
    <script type="text/javascript" src="../common/treeview/bootstrap-treeview.js"></script>
    <script type="text/javascript" src="tree.js"></script>

    <!--
       1.依赖bootstrap    bootstrap-treeview
       2. 在模态框 布局这只一个div
       3.初始化模态框内的 权限树
    -->
</head>
<body>
<button type="button" class="btn btn-primary" onclick="roleManage.updateResource()">权限框</button>

<!-- 模态框（Modal） -->
<div class="modal fade" id="myModaltree" tabindex="-1" role="dialog" aria-labelledby="myModalLabeltree" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×
                </button>
                <h4 class="modal-title" id="myModalLabeltree">
                    权限分配
                </h4>
            </div>
            <div class="modal-body">

                <div id="tree1"></div>


            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    关闭
                </button>
                <button type="button" class="btn btn-primary" onclick="roleManage.setTreeList()">
                    确认
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

</body>
</html>